const express = require('express')
const Router = express.Router()
const multer = require('multer')
const uploadContorller = require('../contorller/uploadContorller')
const { verifyToken } = require('../utils/jwt')
const upload =  multer({dest:'public/uploads'})
Router
.post('/',verifyToken(false),upload.single('file'),uploadContorller.uploadImg)


module.exports = Router